import { defineStore } from 'pinia'
import { ref } from 'vue'
import type { getAddList } from '@/types/address'
export const useAddressStore = defineStore('address', () => {
    const addressList = ref<getAddList>()
    const changeSelectAddress = (val: getAddList) => {
        addressList.value = val
    }
    return {
        addressList,
        changeSelectAddress
    }
})